﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace 完工订单定时任务.models.plcmodel
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("wgrk")]
    public partial class wgrk
    {
           public wgrk(){


           }
           /// <summary>
           /// Desc:PLC母卷号
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string guid {get;set;}

           /// <summary>
           /// Desc:同一个工单的开工和完工的bguid要一样
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string bguid {get;set;}

           /// <summary>
           /// Desc:状态：开工或者完工
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string status {get;set;}

           /// <summary>
           /// Desc:人员id
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string userGuid {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string billkind {get;set;}

           /// <summary>
           /// Desc:单据日期
           /// Default:
           /// Nullable:False
           /// </summary>           
           public DateTime bus_date {get;set;}

           /// <summary>
           /// Desc:生产订单号
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string vbillcode {get;set;}

           /// <summary>
           /// Desc:工作中心id
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string workCenterGuid {get;set;}

           /// <summary>
           /// Desc:产线编号
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string lineno {get;set;}

           /// <summary>
           /// Desc:批号
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string batch_num {get;set;}

           /// <summary>
           /// Desc:设备编号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string device_no {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string scode {get;set;}

           /// <summary>
           /// Desc:仓库id
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string store_guid {get;set;}

           /// <summary>
           /// Desc:长度
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string length {get;set;}

           /// <summary>
           /// Desc:理算重量
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string quantity {get;set;}

           /// <summary>
           /// Desc:规格
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string spec {get;set;}

           /// <summary>
           /// Desc:物料id
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string pk_material {get;set;}

           /// <summary>
           /// Desc:物料编号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string materialCode {get;set;}

           /// <summary>
           /// Desc:物料名称
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string materialName {get;set;}

           /// <summary>
           /// Desc:卷芯号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string CoreNumber {get;set;}

           /// <summary>
           /// Desc:卷芯重
           /// Default:
           /// Nullable:True
           /// </summary>           
           public double? GrossWeight {get;set;}

           /// <summary>
           /// Desc:磅重
           /// Default:
           /// Nullable:True
           /// </summary>           
           public double? PoundWeight {get;set;}

           /// <summary>
           /// Desc:净重
           /// Default:
           /// Nullable:True
           /// </summary>           
           public double? NetWeight {get;set;}

           /// <summary>
           /// Desc:净产量
           /// Default:
           /// Nullable:True
           /// </summary>           
           public double? NetProduction {get;set;}

           /// <summary>
           /// Desc:生产线速度
           /// Default:
           /// Nullable:True
           /// </summary>           
           public double? ProductionLineSpeed {get;set;}

           /// <summary>
           /// Desc:开始时间，上一圈结束时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? start_date {get;set;}

           /// <summary>
           /// Desc:生产时长
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? productionTime {get;set;}

    }
}
